
//
// 120316 - AH - (Bergen Off. Bibliotek *) Created.
//

package org.soekrat.server.io.db;

import org.soekrat.server.io.db.objectify.ObjectifyDAO;

/**
 * <p>
 *   Factory that creates
 *   {@link SoekratDAO} objects.
 * </p>
 * @author Arne Halvorsen (AH)
 * @author Laetitia Le Chatton (LLC)
 */
public final class SoekratDAOFactory 
{
  /**
   * <p>
   *   Constructor.
   * </p>
   */
  public SoekratDAOFactory(){}
  
  /**
   * <p>
   *   Creates
   *   {@link SoekratDAO} to use.
   * </p>
   * @return Created.
   */
  public SoekratDAO create()
  {
    // For now we only have Objectify DAO, if get alternative data bases in the
    // future this object can be initialized at server startup time to which
    // type of DAO object to create.
    
    return new ObjectifyDAO();
  }
  
}
